/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package vn.webapp.form;

/**
 *
 * @author Tonytran
 */
import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import org.hibernate.validator.constraints.NotEmpty;
import org.springframework.format.annotation.NumberFormat;
import org.springframework.format.annotation.NumberFormat.Style;


public class SessionValidationForm {

    @NotNull
    private String year;
    
    @NotNull
    @NumberFormat(style = Style.NUMBER)
    private int semester;
    
    private int id;

    public String getYear() {
        return year;
    }

    public void setYear(String year) {
        this.year = year;
    }

    public int getSemester() {
        return semester;
    }

    public void setSemester(int semester) {
        this.semester = semester;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }
}